<%-- 
Document   : transition
Created on : Nov 14, 2012, 1:32:18 PM
Author     : user1
--%>

<%@ taglib uri="/struts-tags" prefix="s" %>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <script type="text/javascript" src="/CSTF2/Js/jquery-1.7.1.min.js"></script>
        <script type="text/javascript" src="/CSTF2/Js/transition/transition.js"></script>
        <script type="text/javascript" src="/CSTF2/Js/transition/demo.js"></script>
        <script type="text/javascript" src="/CSTF2/Js/Implementation/implementation.js"></script>
        <!--<script type="text/javascript" src="${pageContext.request.contextPath}/Js/jquery-1.5.1.min.js"></script>-->
        <script type="text/javascript" src="${pageContext.request.contextPath}/Js/jquery-ui-1.8.14.custom.min.js"></script>
        <script type="text/javascript" src="${pageContext.request.contextPath}/Js/jquery-ui-datepicker-es.js"></script>

        <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/implementation/implementation.css" />
        <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/estilo.css" />
        <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/stylSergio.css" />
        <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/transition/transition.css"/>
        <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/jquery-ui-1.8.14.custom.css" />

        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Implementation</title>
    </head>
    <body>

        <div style="position: fixed; top: 0; z-index: 1; left:9%;">
            <s:div cssClass="divBlancoMenor"></s:div>
            <s:div cssClass="contenidoAzul">
                <jsp:include page="/jsp/encabezado.jsp" flush="true" />
                <jsp:include page="/jsp/menu.jsp" flush="true" />
                <s:div cssClass="divBlanco"></s:div>
            </s:div>
        </div>
        </br>
        </br>
        </br>
        </br>
        </br>
        </br>
        </br>
        </br>
        <div class="contenidoInformacion">
            <div class="arribaBlock">
                <fieldset class="fsclientInfo">
                    <legend>Client Information</legend>
                    <table class="actually">
                        <tbody>
                            <tr>  
                                <td>
                                    <s:textarea class="areaTexto" id="txtAreaClient" name="txtAreaClient"  
                                                cols="28" rows="3" readonly="true" value="%{ClientInfo}" >
                                    </s:textarea>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </fieldset>
                <fieldset class="fsifOwner">
                    <legend>If Owner Information</legend>
                    <table class="actuallySp" style="text-align: right;">
                        <tr>
                            <td style="width: 70%;">
                                <table style="text-align: right;">
                                    <tr>  
                                        <td>
                                            <s:textarea class="areaTexto" id="txtIfowner" name="txtIfowner"  
                                                        cols="28" rows="3" readonly="true" value="%{CorreoIfOwnerInfo}" >
                                            </s:textarea>
                                        </td>
                                    </tr>
                                </table>
                            </td> 
                        </tr>
                    </table>                                    
                </fieldset>  
                <fieldset class="fstransitionStatus">
                    <legend>Implementation Status</legend>
                    <s:form action="statusChangeImple" >
                        <table class="letraImpleAlign" >
                            <s:textfield value="%{statusselected}" label="Transition"  cssStyle="center" readonly="true"/>
                            <s:select align ="center" list="statusList" name="status" label="Implementation" headerKey="0" headerValue="%{statusImplemSelected}">
                            </s:select>
                            <s:if test="%{#session.usuarioSession.imp == true}">
                                <s:submit cssClass="submitcenter" align ="rigth" value="Save" method="InsertStatusImplementation" />
                            </s:if>
                            <s:else>
                                <s:submit cssClass="submitcenter" align ="rigth" value="Save" method="InsertStatusImplementation" disabled="true" />
                            </s:else>
                        </table>
                    </s:form>
                </fieldset>
            </div>     
            <div id="attach" class="abajoBlock">
                <fieldset class="fsattachmentImp">
                    <legend>Attachments</legend>
                    <div class="attachCol1">
                        </br>
                        <table border="0">
                            <tr>
                                <td><s:checkbox type="checkbox" name="joindocumenttransitionBeanT1.vobo" disabled="true" theme="simple"/></td>
                                <td align="left">Customer Profile</td>
                                <td><s:textfield name="joindocumenttransitionBeanT1.completiondate" cssClass="areaTextoRO" readonly="true" theme="simple"/></td>
                            </tr>
                            <tr>
                                <td><s:checkbox type="checkbox" name="joindocumenttransitionBeanT2.vobo" disabled="true" theme="simple"/></td>
                                <td align="left">RFC</td>
                                <td><s:textfield name="joindocumenttransitionBeanT2.completiondate" cssClass="areaTextoRO" readonly="true" theme="simple" /></td>
                            </tr>
                            <tr>
                                <td><s:checkbox type="checkbox" name="joindocumenttransitionBeanT3.vobo" disabled="true" theme="simple"/></td>
                                <td align="left">R1</td>
                                <td><s:textfield name="joindocumenttransitionBeanT3.completiondate" cssClass="areaTextoRO" readonly="true" theme="simple"/></td>
                            </tr>
                            <tr>
                                <td><s:checkbox type="checkbox" name="joindocumenttransitionBeanT4.vobo"  disabled="true" theme="simple"/></td>
                                <td align="left">R2</td>
                                <td><s:textfield name="joindocumenttransitionBeanT4.completiondate" cssClass="areaTextoRO" readonly="true" theme="simple" /></td>
                            </tr>
                            <tr>
                                <td><s:checkbox type="checkbox" name="joindocumenttransitionBeanT5.vobo"  disabled="true" theme="simple"/></td>
                                <td align="left">Minimun Selling Rates &nbsp;&nbsp;&nbsp;</td>
                                <td><s:textfield name="joindocumenttransitionBeanT5.completiondate" cssClass="areaTextoRO" readonly="true" theme="simple"/></td>
                            </tr>
                            <tr>
                                <td><s:checkbox type="checkbox" name="joindocumenttransitionBeanT6.vobo" disabled="true" theme="simple"/></td>
                                <td align="left">Rate Tracker (RT)</td>
                                <td><s:textfield name="joindocumenttransitionBeanT6.completiondate" cssClass="areaTextoRO" readonly="true" theme="simple"/></td>
                            </tr>
                            <tr>
                                <td><s:checkbox type="checkbox" name="joindocumenttransitionBeanT7.vobo" disabled="true" theme="simple"/></td>
                                <td align="left">Sales Quotation</td>
                                <td><s:textfield name="joindocumenttransitionBeanT7.completiondate" cssClass="areaTextoRO" readonly="true" theme="simple"/></td>
                            </tr>
                        </table>
                    </div>

                    <div class="attachCol2">    
                        <s:form action="submitCheckbox1" method=""  id="" >
                            <s:submit value="Completion Date" cssClass="oculto" method="InsertVoboCheckBox" id="FsubmitCheckbox3" theme="simple"></s:submit>
                            <s:submit value="Completion Date" cssClass="oculto" method="InsertVoboCheckBox1" id="FsubmitCheckbox1" theme="simple"></s:submit>
                            <s:submit value="Completion Date" cssClass="oculto" method="InsertVoboCheckBox2" id="FsubmitCheckbox2" theme="simple"></s:submit>
                            <s:submit value="Completion Date" cssClass="oculto" method="InsertVoboCheckBox3" id="FsubmitCheckbox4" theme="simple"></s:submit>
                            <s:submit value="Completion Date" cssClass="oculto" method="InsertVoboCheckBox4" id="FsubmitCheckbox5" theme="simple"></s:submit>
                            <s:submit value="Completion Date" cssClass="oculto" method="InsertVoboCheckBox5" id="FsubmitCheckbox6" theme="simple"></s:submit>
                            <s:submit value="Completion Date" cssClass="oculto" method="InsertVoboCheckBox6" id="FsubmitCheckbox7" theme="simple"></s:submit>
                            <s:submit value="Completion Date" cssClass="oculto" method="InsertVoboCheckBox7" id="FsubmitCheckbox8" theme="simple"></s:submit>
                            <s:submit value="Completion Date" cssClass="oculto" method="InsertVoboCheckBox8" id="FsubmitCheckbox9" theme="simple"></s:submit>
                            <s:submit value="Completion Date" cssClass="oculto" method="InsertVoboCheckBox9" id="FsubmitCheckbox10" theme="simple"></s:submit>
                            <s:submit value="Completion Date" cssClass="oculto" method="InsertVoboCheckBox10" id="FsubmitCheckbox11" theme="simple"></s:submit>
                            <s:submit value="Completion Date" cssClass="oculto" method="InsertVoboCheckBox11" id="FsubmitCheckbox12" ></s:submit>
                            <table border="0">
                                <tr>
                                    <td>
                                        <s:if test="%{#session.usuarioSession.imp == true}">
                                            <s:checkbox type="checkbox" name="transitionsBeanImp.cop" disabled="false" theme="simple" onchange="change1()"/>           
                                        </s:if>
                                        <s:else>
                                            <s:checkbox type="checkbox" name="transitionsBeanImp.cop" disabled="true" theme="simple"/>           
                                        </s:else>
                                    </td>
                                    <td align="left">Client Operational Profile</td>
                                    <td><s:textfield name="dateStatusTransitionsBean.copdate" cssClass="areaTextoRO" readonly="true" theme="simple" /></td>
                                    <td><s:textfield name="dateBean.copdate" cssClass="areaTextoRO" readonly="true" id="fecha" theme="simple" /></td>
                                </tr>
                                <tr>
                                    <s:if test="%{#session.usuarioSession.imp == true}">
                                        <td><s:checkbox type="checkbox" name="transitionsBeanImp.contacts" disabled="false" onchange="change2()" theme="simple"/></td>
                                    </s:if>
                                    <s:else>
                                        <td><s:checkbox type="checkbox" name="transitionsBeanImp.contacts" disabled="true" theme="simple"/></td>
                                    </s:else>
                                    <td align="left">Contacts</td>
                                    <td><s:textfield name="dateStatusTransitionsBean.contactsdate" cssClass="areaTextoRO" readonly="true" theme="simple" /></td>
                                    <td><s:textfield name="dateBean.contactsdate" cssClass="areaTextoRO" readonly="true" id="fecha1" theme="simple" /></td>
                                </tr>
                                <tr>
                                    <s:if test="%{#session.usuarioSession.imp == true}">
                                        <td><s:checkbox type="checkbox" name="transitionsBeanImp.reporting" disabled="false" onchange="change3()" theme="simple"/></td>
                                    </s:if>
                                    <s:else>
                                        <td><s:checkbox type="checkbox" name="transitionsBeanImp.reporting" disabled="true" theme="simple"/></td>
                                    </s:else>
                                    
                                    <td align="left">Reporting</td>
                                    <td><s:textfield name="dateStatusTransitionsBean.reportingdate" cssClass="areaTextoRO" readonly="true" theme="simple"/></td>
                                    <td><s:textfield name="dateBean.reportingdate" cssClass="areaTextoRO" readonly="true" id="fecha2" theme="simple"/></td>
                                </tr>
                                <tr>
                                    <td>
                                        <s:if test="%{#session.usuarioSession.imp == true}">
                                            <s:checkbox type="checkbox" name="transitionsBeanImp.scopeofservice" disabled="false" onchange="change4()" theme="simple"/>
                                        </s:if>
                                        <s:else>
                                            <s:checkbox type="checkbox" name="transitionsBeanImp.scopeofservice" disabled="true" theme="simple"/>
                                        </s:else>
                                    </td>
                                    <td align="left">Scope of Service</td>
                                    <td><s:textfield name="dateStatusTransitionsBean.scopeofservicedate" cssClass="areaTextoRO" readonly="true" theme="simple" /></td>
                                    <td><s:textfield name="dateBean.scopeofservicedate" cssClass="areaTextoRO" readonly="true" id="fecha3" theme="simple" /></td>
                                </tr>
                                <tr>
                                    <td>
                                        <s:if test="%{#session.usuarioSession.imp == true}">
                                            <s:checkbox type="checkbox" name="transitionsBeanImp.condition" disabled="false" onchange="change5()" theme="simple"/>
                                        </s:if>
                                        <s:else>
                                            <s:checkbox type="checkbox" name="transitionsBeanImp.condition" disabled="true" theme="simple"/>
                                        </s:else>
                                    </td>
                                    <td align="left">Conditions</td>
                                    <td><s:textfield name="dateStatusTransitionsBean.conditionsdate" cssClass="areaTextoRO" readonly="true" theme="simple" /></td>
                                    <td><s:textfield name="dateBean.conditionsdate" cssClass="areaTextoRO" readonly="true" id="fecha4" theme="simple" /></td>
                                </tr>
                                <tr>
                                    <td>
                                        <s:if test="%{#session.usuarioSession.imp == true}">
                                            <s:checkbox type="checkbox"  id="St2checkboxCID" name="transitionsBeanImp.cielid" onchange="enable_cb3()" theme="simple" />
                                        </s:if>
                                        <s:else>
                                            <s:checkbox type="checkbox"  id="St2checkboxCID" name="transitionsBeanImp.cielid" onchange="enable_cb3()" disabled="true" theme="simple"/>
                                        </s:else>
                                    </td>
                                    <td align="left">Ciel Client Id</td>
                                    <td><s:textfield name="dateStatusTransitionsBean.cieliddate" id="textCID" cssClass="areaTextoRO" readonly="true" theme="simple" /></td>
                                    <td><s:textfield name="dateBean.cieliddate" id="fecha5" cssClass="areaTextoRO" readonly="true" theme="simple" /></td>
                                </tr>
                                <tr>
                                    <td>
                                        <s:if test="%{#session.usuarioSession.imp == true}">
                                            <s:checkbox type="checkbox" id="St2checkboxCQ" name="transitionsBeanImp.cielqmodule" onchange="change6()" theme="simple" />
                                        </s:if>
                                        <s:else>
                                            <s:checkbox type="checkbox" id="St2checkboxCQ" name="transitionsBeanImp.cielqmodule" onchange="enable_cb3()" theme="simple" disabled="true" /> 
                                        </s:else>
                                    </td>
                                    <td align="left">Ciel Quotation Module</td>
                                    <td><s:textfield name="dateStatusTransitionsBean.cielqmoduledate" id="textCQ" cssClass="areaTextoRO" readonly="true" theme="simple" /></td>
                                    <td><s:textfield name="dateBean.cielqmoduledate" id="fecha6" cssClass="areaTextoRO" readonly="true" theme="simple" /></td>
                                </tr>
                                <tr>
                                    <td><s:checkbox type="checkbox" name="joindocumenttransitionBeanT8.vobo" disabled="true" theme="simple"/></td>
                                    <td align="left">ACON Debtor Number</td>
                                    <td><s:textfield  name="joindocumenttransitionBeanT8.completiondate" cssClass="areaTextoRO" readonly="true" theme="simple" /></td>
                                </tr>
                                <tr>
                                    <td>
                                        <s:if test="%{#session.usuarioSession.imp == true}">
                                            <s:checkbox type="checkbox" id="St2checkboxCD" name="transitionsBeanImp.carriercc" onchange="change7()" theme="simple"/>
                                        </s:if>
                                        <s:else>
                                            <s:checkbox type="checkbox" id="St2checkboxCD" name="transitionsBeanImp.carriercc" onchange="enable_cb3()" disabled="true" theme="simple"/>
                                        </s:else>
                                    </td>
                                    <td align="left">Carrier Choise Sheet</td>
                                    <td><s:textfield name="dateStatusTransitionsBean.carrierccdate" id="textCD" cssStyle="" cssClass="areaTextoRO" readonly="true" theme="simple" /></td>
                                    <td><s:textfield name="dateBean.carrierccdate" id="fecha7" cssStyle="" cssClass="areaTextoRO" readonly="true" theme="simple" /></td>
                                </tr>
                                <tr>
                                    <td>
                                        <s:if test="%{#session.usuarioSession.imp == true}">
                                            <s:checkbox type="checkbox" name="transitionsBeanImp.workingst" disabled="false" onchange="change8()" theme="simple"/>
                                        </s:if>
                                        <s:else>
                                            <s:checkbox type="checkbox" name="transitionsBeanImp.workingst" disabled="true" theme="simple"/>
                                        </s:else>
                                    </td>
                                    <td align="left">Working Instructions</td>
                                    <td><s:textfield name="dateStatusTransitionsBean.workingstdate"  cssClass="areaTextoRO" readonly="true" theme="simple" /></td>
                                    <td><s:textfield name="dateBean.workingstdate"  cssClass="areaTextoRO" readonly="true" id="fecha8" theme="simple" /></td>
                                </tr>
                                <tr>
                                    <td>
                                        <s:if test="%{#session.usuarioSession.imp == true}">
                                            <s:checkbox type="checkbox" name="transitionsBeanImp.sop" disabled="false" onchange="change9()" theme="simple"/>
                                        </s:if>
                                        <s:else>
                                            <s:checkbox type="checkbox" name="transitionsBeanImp.sop" disabled="true" theme="simple"/>
                                        </s:else>
                                    </td>
                                    <td align="left">Standar Operating Procedure &nbsp;&nbsp;&nbsp;</td>
                                    <td><s:textfield name="dateStatusTransitionsBean.sopdate" cssClass="areaTextoRO" readonly="true" theme="simple" /></td>
                                    <td><s:textfield name="dateBean.sopdate" cssClass="areaTextoRO" readonly="true" id="fecha9" theme="simple" /></td>
                                </tr>
                                <tr>
                                    <td>
                                        <s:if test="%{#session.usuarioSession.imp == true}">
                                            <s:checkbox type="checkbox" name="transitionsBeanImp.kpi" disabled="false" onchange="change10()" theme="simple"/>
                                        </s:if>
                                        <s:else>
                                            <s:checkbox type="checkbox" name="transitionsBeanImp.kpi" disabled="true" theme="simple"/>
                                        </s:else>
                                    </td>
                                    <td align="left">Key Performance Indicators</td>
                                    <td><s:textfield name="dateStatusTransitionsBean.kpidate" cssClass="areaTextoRO" readonly="true" theme="simple" /></td>
                                    <td><s:textfield name="dateBean.kpidate" cssClass="areaTextoRO" readonly="true" id="fecha10" theme="simple" /></td>
                                </tr>
                                <tr>
                                    <s:if test="%{#session.usuarioSession.imp == true}">
                                        <td><s:checkbox type="checkbox" name="transitionsBeanImp.billing" disabled="false" onchange="change11()" theme="simple"/></td>
                                    </s:if>
                                    <s:else>
                                        <td><s:checkbox type="checkbox" name="transitionsBeanImp.billing" disabled="true" theme="simple"/></td>
                                    </s:else>
                                    <td align="left">Billing Conditions</td>
                                    <td><s:textfield name="dateStatusTransitionsBean.billingdate" cssClass="areaTextoRO" readonly="true" theme="simple" /></td>
                                    <td><s:textfield name="dateBean.billingdate" cssClass="areaTextoRO" readonly="true" id="fecha11" theme="simple" /></td>
                                </tr>
                            </table>
                        </s:form>
                    </div>
                </fieldset>
            </div>
            </br>
            </br>
            </br>
            </br>
            </br>
        </div>
    </body>
</html>

